package com.tianye.salon.service;

import com.tianye.salon.exception.MyException;
import com.tianye.salon.model.AdminRole;

public interface AdminRoleService extends BaseService<AdminRole>{
	public int insertRoleAndModules(AdminRole role) throws MyException;
	public int deleteRoleModulesByRoleid(int rid);
	public int updateRoleModules(AdminRole role) throws MyException;
	public int deleteRoleModules(int rid);
	public AdminRole selectRoleModuleByPrimaryKey(int id);
}
